<template>
  <div style="padding: 0 15px">
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721032401923" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1924" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32">
      <path :fill="topTheme.includes('linear') ? 'rgba(44, 78, 120, 1)' : '#fff'" d="M651.648 616.704a244.352 244.352 0 0 0 216.064-358.592l-0.064-0.128c-5.504-10.304-15.232-16.512-18.688-17.024-0.64-0.128-1.088 0-1.28 0.32a34.816 34.816 0 0 0-35.52 8.448L704 357.888 666.112 320l108.16-108.16a34.944 34.944 0 0 0-8.32-55.552 244.352 244.352 0 0 0-341.376 306.56L138.24 749.12a34.88 34.88 0 0 0 0 49.408l87.232 87.232a34.88 34.88 0 0 0 49.408 0l286.272-286.272c28.672 11.52 58.88 17.28 90.496 17.28z" p-id="1925"></path>
    </svg>
  </div>
</template>

<script setup>
import useSettingsStore from "@/store/modules/settings";

const settingsStore = useSettingsStore();
const topTheme = computed(() => settingsStore.topTheme);

defineProps({
  isActive: {
    type: Boolean,
    default: false,
  },
});

const emit = defineEmits();
// const toggleClick = () => {
//   emit('toggleClick');
// }
</script>

<style scoped>
.hamburger {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.hamburger.is-active {
  transform: rotate(180deg);
}
</style>
